home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
btsys.arc
/
BTEXTERN.H
< prev
next >
Wrap
C/C++ Source or Header
|
1985-03-01
|
1KB
|
50 lines
/* global stuff for all modules in btsys */
#define BTSETCOD(x,y,z) { gfilhand = x;\
gdatapt = y;\
return(z); }
#define SELF 384
#define INTCHAR 388
#define INTINT 392
#define INTKEY 396
#define LFILNAM 14
#define LBLEN 80
#define MAXFIL 4
#define SETUP 0x31
#define VECNO 0x60
#define STACKS 0x80
#define PARAS 4096
#define LKEYLEN 16
extern int openkt, /* # of open files */
gorder, /* order of btree */
gfcode, /* function code */
gfilhand, /* file handle */
gkeylen, /* key length */
gretcode, /* return code */
gdatapt; /* data pointer */
extern char gfilnam[LFILNAM + 1],/* file name */
gfilkey[LKEYLEN + 1] /* file key */
;
extern int *ip1, *ip2, *ip3;
extern char *cp1, *cp2, *cp3;
extern struct {
unsigned root;
unsigned handle;
unsigned keylen;
int *infobuf;
int *filbuf;
FILE *fdesc;
char *ikeyptr;
char filnam[LFILNAM + 1];
char curkey[LKEYLEN + 1];
} btfilar[MAXFIL + 1];
extern FILE *fp, *fopen();
extern char *calloc();
/* end of global */